package com.repo.repo;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ReponController {

    @PutMapping("/repo/{pid}")
    public void repo(@PathVariable(name = "pid") String pid){
        System.out.println("扣减库存：" + pid);
    }
}
